#coding=utf-8
'''
Created on 2009-3-24

@author: James
'''
import www
x=www.page("http://www.yninfo.com",0)
for i in x.getLinks():
    print (i.innerHTML).encode("utf-8"),":",i.href
    
x.close()